<script type="text/javascript">
	$(function(){
		$('.question li a').click(function(){
			$(this).next().slideToggle();
			return false;
		})
	})
</script>
<h1>คำถามที่น่าสนใจ</h1>
<div class="box">
	<div class="view">
		<ul class="question">
			<?php foreach($faqs as $faq): ?>
			<li>
				<a href="#"><?php echo $faq->question ?></a>
				<div>
					<span>ตอบ</span> <?php echo nl2br($faq->answer) ?>
				</div>
			</li>
			<?php endforeach; ?>
		</ul>
		<?php echo $faqs->pagination(); ?>
	</div>
</div>
